package com.xnewtech.xplatform.swan.auth.modular.sso.security.exception;

import com.xnewtech.xplatform.swan.model.enums.exp.AbstractBaseException;
import com.xnewtech.xplatform.swan.model.exp.ServiceException;

/**
 * 安全问题异常
 *
 * @author xnew
 * @date 2019-02-19-5:48 PM
 */
public class SecurityException extends ServiceException {

    public SecurityException(AbstractBaseException exception) {
        super(exception);
    }

    public SecurityException(Integer code, String errorMessage) {
        super(code, errorMessage);
    }
}
